package cep.web.media.beans;

import cep.web.repo.NewsInfo;
import org.springframework.stereotype.Component;

import javax.swing.*;
import java.util.ArrayList;
import java.util.List;

/**
 * User: golovin
 * Date: 23.06.13
 * Time: 15:56
 */
@Component
public class NewsListBean {
    private List<NewsInfo> newsList = new ArrayList<NewsInfo>();

    public List<NewsInfo> getNewsList() {
        return newsList;
    }

    public void setNewsList(List<NewsInfo> newsList) {
        this.newsList = newsList;
    }

}
